<?php
class Zend_Controller_Action_Helper_Encrypt extends Zend_Controller_Action_Helper_Abstract
{
	public function direct($string) {
		$hash = Zend_Registry::get('config')->general->hash;
		return hash("sha256", $hash . $string);
	}
}